Page({
  data: {
    titles: ["手机", "电脑", "iPad", "相机"],
  },
  onSectionTitleClick(e) {
    console.log("区域title发生了点击", e, e.detail);
  },
  onTabIndexChange(e) {
    console.log("索引改变了", e.detail, this.data.titles[e.detail]);
  },
  onExecTCMethod() {
    const tabControl = this.selectComponent(".tab-control");
    tabControl.test();
  },
});
